import request from '@/utils/request'

export function countstatus(params) {
  return request({
    url: '/plm-sys/objectInstance/countstatus',
    method: 'POST',
    params
  })
}

export function view(type) {
  return request({
    url: '/plm-sys/objectAttachment/view?type=' + type,
    method: 'POST'
  })
}

export function viewObject(type) {
  return request({
    url: '/plm-sys/objectInstance/view?type=' + type,
    method: 'POST'
  })
}
